package com.jic.interaction.ChinaPost.common.exception;

import com.jic.interaction.ChinaPost.common.menu.UserInfoEnums;
import com.jic.interaction.common.enums.OrderInfoEnums;
import com.jic.interaction.common.exception.AppRuntimeException;
import org.apache.ibatis.jdbc.Null;

public class UserInfoException extends AppRuntimeException{

    @Override
    public void setStatus(String status) {
        super.setStatus(status);
    }

    @Override
    public void setData(Object data) {
        super.setData(data);
    }

    @Override
    public void setMessage(String message) {
        super.setMessage(message);
    }

    @Override
    public void setMoreInfo(String moreInfo) {
        super.setMoreInfo(moreInfo);
    }

    @Override
    public String toString() {
        return super.toString();
    }

    public UserInfoException(String status, Object... msg) {
        super(status, msg);
    }

    public UserInfoException(UserInfoEnums orderInfoEnums) {
        super(orderInfoEnums.getName(), orderInfoEnums.getDesc());
    }
    public UserInfoException() {
        super();
    }

}
